# coding=utf-8
a = {}
a.setdefault('key', 'value')
# 将a中key的默认值设为value
